package com.gxa.pingan.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;
import java.util.Date;

/**
 * @author lijianmin
 * @date 2021/10/27  14:56:33
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Car {
    /**
     * 编号
     */
    @ApiModelProperty(name = "id",value = "id",notes = "编号",dataType = "Long",example = "编号")
    private Long id;
    /**
     * 车牌号
     */
    @ApiModelProperty(name = "carNum",value = "carNum",notes = "车牌号",dataType = "String",example = "车牌号")
    private String carNum;
    /**
     * 车辆识别代码（就是车架号）
     */
    @ApiModelProperty(name = "carCode",value = "carCode",notes = "车辆识别代码（就是车架号）",dataType = "String",example = "车架号")
    private String carCode;
    /**
     * 品牌型号
     */
    @ApiModelProperty(name = "brandModel",value = "brandModel",notes = "品牌型号",dataType = "String",example = "品牌型号")
    private String brandModel;
    /**
     * 交强险到期日（交强险中止时间）
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(name = "CLIVTAEndTime",value = "CLIVTAEndTime",notes = "交强险到期日（交强险中止时间）",dataType = "Date",example = "交强险到期日")
    private Date CLIVTAEndTime;
    /**
     * 车辆发动机号
     */
    @ApiModelProperty(name = "engineNum",value = "engineNum",notes = "车辆发动机号",dataType = "String",example = "车辆发动机号")
    private String engineNum;
    /**
     * 商业险到期日
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(name = "CLEndTime",value = "CLEndTime",notes = "商业险到期日",dataType = "Date",example = "商业险到期日")
    private Date CLEndTime;
    /**
     * 车辆初登日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(name = "boardDate",value = "boardDate",notes = "车辆初登日期",dataType = "Date",example = "车辆初登日期")
    private Date boardDate;
    /**
     * 行驶证附件
     */
    @ApiModelProperty(name = "img",value = "img",notes = "行驶证附件",dataType = "String",example = "行驶证附件")
    private String img;

}
